/*
 * @Author: szx
 * @Date: 2022-04-07 20:43:38
 * @LastEditTime: 2022-04-08 18:40:52
 * @Description:
 * @FilePath: \leetcode\700-799\796\796.js
 */
/**
 * @param {string} s
 * @param {string} goal
 * @return {boolean}
 */
var rotateString = function (s, goal) {
    return s.length === goal.length && (s + s).indexOf(goal) !== -1;
};
